const Koa = require('koa'),
  app = new Koa()

app.use(require('koa2-connect-history-api-fallback')({
    whiteList: ['/api']
  }))
  .use(require('koa-proxy')({
    host: 'http://www.h5gf.cn/cardH5/public',
    match: /^\/index\/index\//
  }))
  .use(require('koa-static')(__dirname + '/static'))
  .listen(3008)